.logo-wrap {
  height: 140px;
  color: #fff;
  padding-top: 20px;
  text-align: center;
  font-size: 24px;
  .logo {
    font-size: 14px;
  }
  :global {
    .ant-upload.ant-upload-select-picture-card {
      margin: 0;
      width: 100%;
      height: 100px;
      padding: 0 10px;
      background-color: transparent;
      border: none;
      text-align: center;
      .ant-upload {
        padding: 0;
        color: #fff;
        img {
          max-width: 200px;
          max-height: 100px;
        }
      }
    }
  }
  .logo {
    :global {
      .ant-upload.ant-upload-select-picture-card {
        .ant-upload {
          background-color: #525252;
          border: 1px dashed #949494;
        }
      }
    }
  }
}

.site-layout-sub-header-background {
  background: #fff;
  height: 54px;
  line-height: 54px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  .left {
    flex-grow: 1;
    .refresh {
      font-size: 22px;
      padding: 16px;
      cursor: pointer;
    }
  }
  .note {
    width: 320px;
    padding: 0 18px;
    color: #999;
  }
}
.content-main {
  position: relative;
  height: calc(100vh - 94px);
  margin: 12px;
  min-height: 0;
}

.sider-wrap {
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  :global {
    .ant-menu-item-selected {
      background: #16ba3c !important;
    }
  }
  .current-device-type {
    font-weight: 500;
    color: #00a0e9;
    & > a {
      color: #00a0e9;
    }
    &:global(.ant-menu-item-selected) {
      background: #1f6499 !important;
      color: #fff;
      & > a {
        color: #fff;
      }
    }
  }
  .arrow-right {
    position: absolute;
    top: 50%;
    right: 4px;
    color: rgba(255, 255, 255, 0.65);
    -webkit-transform: translateY(-7px);
    transform: translateY(-7px);
  }
  &:global(.ant-layout-sider) {
    background: #333;
  }
  :global {
    .ant-menu-vertical .ant-menu-item,
    .ant-menu-vertical-left .ant-menu-item,
    .ant-menu-vertical-right .ant-menu-item,
    .ant-menu-inline .ant-menu-item,
    .ant-menu-vertical .ant-menu-submenu-title,
    .ant-menu-vertical-left .ant-menu-submenu-title,
    .ant-menu-vertical-right .ant-menu-submenu-title,
    .ant-menu-inline .ant-menu-submenu-title {
      color: #fff;
      height: 60px;
      line-height: 60px;
    }
    .ant-menu-dark .ant-menu-submenu-title:hover {
      background: #1f6499 !important;
    }
    .ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow {
      opacity: 1;
      &::before,
      &::after {
        width: 8px;
        background: #00a0e9;
      }
    }
    .ant-menu-dark,
    .ant-menu-dark .ant-menu-sub {
      background: #333;
    }
  }
}
.site-layout-background {
  background: #fff;
}
